Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

changes for mirror mode #389

Merged
merged 7 commits into from
Oct 27, 2021
Merged

changes for mirror mode #389

merged 7 commits into from
Oct 27, 2021

Conversation

mchangrh
Copy link
Contributor

related to #373

@mchangrh mchangrh marked this pull request as draft October 21, 2021 07:49
@mchangrh

This comment has been minimized.

@mchangrh mchangrh changed the title if in mirror mode, import CSV files changes for mirror mode Oct 22, 2021
@mchangrh mchangrh marked this pull request as ready for review October 22, 2021 05:05
@mchangrh

This comment has been minimized.

- fix tests with lockCategories
- new unique naming scheme for video
- super janky somehow working method for comparing arrays out of order
@mchangrh mchangrh marked this pull request as draft October 22, 2021 18:38
@mchangrh mchangrh marked this pull request as ready for review October 23, 2021 04:47
@mchangrh
Copy link
Contributor Author

no further changes needed

Copy link
Contributor Author

@mchangrh mchangrh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the goal is to send a request to database.json without queueing another dump, just get the last dump

@@ -184,7 +184,7 @@ export async function redirectLink(req: Request, res: Response): Promise<void> {
res.sendStatus(404);
}

await queueDump();
if (req.query.generate !== "false") await queueDump();
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this works but my logs are quite muddied

@ajayyy ajayyy merged commit eecb238 into ajayyy:master Oct 27, 2021
@mchangrh mchangrh deleted the replication-mirror branch October 27, 2021 00:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants